The Librarian's Introduction to Programming Languages by Thomsett-Scott Beth;

The Librarian's Introduction to Programming Languages by Thomsett-Scott Beth;

Author:Thomsett-Scott, Beth; [Thomsett-Scott, Beth]
Language: eng
Format: epub
Publisher: Rowman & Littlefield Unlimited Model
Published: 2016-08-15T00:00:00+00:00


Variable names have some minor rules and some additional best practices. This outline of do-nots can look overly restrictive but, in practice, makes variables more identifiable:

Variable names must only contain uppercase and lowercase letters, numbers, and underscores: $this!sn0tV@lid.

They cannot start with a number: $2bad.

(Best Practice) Names should describe what they do. $time_event_starts = “2020-05-29”.

(Best Practice) Names should not start with an underscore: $_generally_bad.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.